package com.lzxuni.modules.cropinformation.mapper;

import com.lzxuni.modules.common.entity.Tree;
import com.lzxuni.modules.cropinformation.entity.TblCropInformation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 作物信息 Mapper 接口
 * </p>
 *
 * @author rdf
 * @since 2020-11-24
 */
public interface TblCropInformationMapper extends BaseMapper<TblCropInformation> {

    List<TblCropInformation> queryList(TblCropInformation cropInformation);

    List<Tree> queryListtree();

    List<Tree> queryListmodeltree(String cropName);

    int queryfarmerUpdateByCropId(TblCropInformation tblCropInformation);

    List<TblCropInformation> queryCountList();
}
